package com.meilai.project.dto.finance.supplier;

import com.meilai.project.entity.finance.supplier.SupplierMaterial;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel
public class SupplierMaterialDTO {

    @NotNull(message = "供应商id不能为空")
    @ApiModelProperty(value = "供应商id")
    private Long supplier_id;

    @ApiModelProperty(value = "物料")
    private List<SupplierMaterial> material_list;

}
